#include <iostream>
using namespace std;

int main()
{
    for(int i = 0; i < 10; i++)
    {
        for (int j = 0; j < 10; ++j) {
            if (j == 6)
            {
                break;//退出内层循环
            }
            cout<<"*";
        }
        cout<<endl;
    }
    system("pause");
    return 0;
}
